package com.yztstudy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 用户服务的启动类
 */

@SpringBootApplication
@MapperScan(basePackages = "com.yztstudy.Mapper")
@EnableDiscoveryClient // 开启注册
public class UserApplication {

	public static void main(String[] args) {
		SpringApplication.run(UserApplication.class, args);
	}

}
